package movieGandalf.search;


public class YearParam implements SearchParam{
	
	private Integer year;
	
	private String sign;
	
	public YearParam(Integer year, String sign){
		this.year = year;
		this.sign = sign;
	}
	
	public String getParam() {
		return "year" + sign + "?";
	}
	
	public Object getValue(){
		return year;
	}
	
	public String getJoin(){
		return "";
	}

	public boolean isParamOnJoin(){
		return false;
	}
	
}
